
        <!--list-->
        {volist name="comment" id="item"}
        	<div class="layui-row comment-item">
        		<div  class="comment-item-body">
        			<div class="comment-userinfo portrait-sm">{:portrait($item.user_id)}<a href="{:url('wendasns/home/index',['id'=>$item.user_id],false)}" style="font-weight: bold;" target="_blank">{$item.users.username}</a><span style="margin-left: 10px;color: #9eacb6;font-size: 12px;">{:range_time($item.create_time,'Y-m-d H:i')}</span></div>
        			
        			<div class="comment-area" style="margin-left: 40px;">
        			
        				<div class="comment-content">{$item.content}</div>
	        			<div class="comment-handle" style="margin-top: 5px;font-size: 12px;">
	        				<a href="{:url('wendasns/comment/praise')}" class="J_req" data-click="praise" data-str='{"id":"{$item.id}","type":"comment"}' style="margin-right: 10px;color: #9EACB6;"><i class="layui-icon layui-icon-praise"></i> 赞<font>{if $item.praise>0}{$item.praise}{/if}</font></a>
		        			{if $loginUser.uid eq $item.user_id}<a href="{:url('wendasns/comment/remove')}" class="comment-handle-show J_req" data-click="commentdel" data-str='{"id":"{$item.id}"}' style="margin-right: 10px;color: #9EACB6;"><i class="layui-icon layui-icon-delete"></i> 删除</a>{else}<a href="javascript:;" class="comment-handle-show J_comment" style="margin-right: 10px;color: #9EACB6;" data-str='{"id":"{$item.id}","lid":"{$item.id}","type":"reply"}' data-state="0"><i class="layui-icon layui-icon-dialogue"></i> 回复</a>{/if}
		        			<a href="{:url('wendasns/api/report')}" class="comment-handle-show J_dialog" title="举报" data-str='{"id":"{$item.id}","type":"comment"}' style="margin-right: 10px;color: #9EACB6;"><i class="layui-icon layui-icon-tips" style="font-size: 14px;"></i> 举报</a>
	        			</div>
        			
				          <div class="reply-card-{$item.id}" data-height="0" style="overflow: hidden;display: none;">
				          	<div class="reply-card-form"></div>
				          	<div class="reply-card-list" style="background: #fafafa;padding: 10px;">
				          	{include file="reply"}
				          	</div>
				          </div>

        			</div>
        			
        			
        		</div>
        	</div>
        	<hr>
        {/volist}
        <div class="comment-page pager">{$comment->render()|raw}</div>
        <!--list end-->
